//attr接口
import request from '@/utils/request'
import { category } from '.'
export default {
    getList(category1Id,category2Id,category3Id) {
        return request(`/admin/product/attrInfoList/${category1Id}/${category2Id}/${category3Id}`)
    },
    delete(attrId){
        return request.delete(`/admin/product/deleteAttr/${attrId}`)
    },
    addOrUpdate(attr){
        return request.post(`/admin/product/saveAttrInfo`,attr)
    }
        
}